<template>
    <div>
        <h1 class="bgc">{{msg}}</h1>
        <h2 >学生姓名：{{name}}</h2>
        <h2>学生性别：{{sex}}</h2>
    </div>
</template>


<script>
   export default{
       name:'Student',
       data() {
            return {
                msg:'欢迎你~学生',
                name:'张三',
                sex:'男'         
            }
        }
             
   }
    

</script>
<style>
    .bgc{
        background-color: #ff6700;
    }
</style>
